<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="common.inc" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="./css/style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="./css/fusionCharts.css" type="text/css" />
<script language="JavaScript" src="./js/FusionCharts.js"></script>
<script language="JavaScript" src="./js/sale-monitor.js"></script>
</head>
<body style="margin: 0px 0px 0 0px">
	<div style="background: url('./images/right_title.gif');height: 50px;"></div>
	
	<table class="right_table">
		<tr>
			<td class="title">业绩指标</td>
		</tr>
		<tr>
			<td>
				<a class="right_title">全年指标：${buinessTarget.yearTarget}元</a>
				<a class="right_title">
				<c:choose>
					<c:when test="${buinessTarget.assignPeriod == '1'}">
						月度指标：${buinessTarget.periodTarget}
						<c:set var="title" value="月度指标"/>
					</c:when>
					<c:when test="${buinessTarget.assignPeriod == '2'}">
						季度指标：${buinessTarget.periodTarget}
						<c:set var="title" value="季度指标"/>
					</c:when>
					<c:when test="${buinessTarget.assignPeriod == '3'}">
						年度指标：${buinessTarget.periodTarget}
						<c:set var="title" value="年度指标"/>
					</c:when>
					<c:otherwise></c:otherwise>
				</c:choose>元
				</a>
			</td>
		</tr>
		<tr>
			<td style="padding: 0 0 0 0;">
				<div id="chartdiv22" align="left"><c:out value="${title}"/>和完成额图</div>
				<script type="text/javascript">
					targetFinishImage("chartdiv22","<c:out value='${title}'/>",'${buinessTarget.periodTarget}','${buinessTarget.finishedTarget}');
					//targetImage1("chartdiv22","进度监控",'${pmData1}','${pmData2}','${pmData3}');
				</script><br>
			</td>
		</tr>
	</table>
	
	<table class="right_table" style="margin: 5px 0 0 0;">
		<tr>
			<td class="title">日常事务</td>
		</tr>
		<tr>
			<td>
				<a class="right_title">待办事宜[5]</a>
				<a class="right_title">分派客户[2]</a>
				<a class="right_title">新增客户[1]</a>
				<a class="right_title">今日拜访[3]</a>
				<br>
			</td>
		</tr>
	</table>
	
	<!-- 	
	<table class="right_table" style="position: absolute;bottom: 0px;">
		<tr>
			<td>
				<a href="#" class="right_title" hidefocus="ture">您有3条未读邮件！&nbsp;&nbsp;收件箱</a><br>
			</td>
		</tr>
	</table>
	 -->
</body>
</html>